package com.itheima.service.company;

import com.github.pagehelper.PageInfo;
import com.itheima.domain.company.Company;

import java.util.List;

public interface CompanyService {

    List<Company> findAll();

    PageInfo<Company> findAll(int page, int pageSize);

    void save(Company company);

    void update(Company company);

    void delete(String id);

    Company findById(String id);
}
